<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>案例5</title>
		<style  type="text/css">
			a:link{
				background-color: #FF1493;
				}
			a:visited{
				background-color: yellowgreen;
				}
			input:focus{
				background-color: #DB7093;
			}
			input:hover{
				background-color: #ADD8E6;
			}
			button:active{
				background-color: #DB7093;
				}
		</style>
	</head>
	<body>
		<a href="https://www.baidu.com">百度</a>
		<input type="text" />
		<button type="button">上交</button>
	</body>
</html>
